package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.twl.common.entity.Customer;
/***
 * 个人保险金
 * @author uatzhangxc
 *
 */
@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Personalmoney")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_Personalmoney_id", allocationSize = 1)
public class Personalmoney extends Customer implements Serializable {

	private String  housetype;//户口类型
	private BigDecimal cardinalnum;//基数
	private Double scaleint;//比例
	private String persontype;  //类型 0.公积金个人1.养老保险个人2。医疗保险个人3。失业保险个人
	private String  amountdou;	//金额
	private String datemoney;  //日期
	private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	public Personalmoney() {
		super();
	}
	public Personalmoney(String housetype, BigDecimal cardinalnum,
			Double scaleint, String persontype, String amountdou,
			String datemoney) {
		super();
		this.housetype = housetype;
		this.cardinalnum = cardinalnum;
		this.scaleint = scaleint;
		this.persontype = persontype;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
	}
	@Column(name="housetype")
	public String getHousetype() {
		return housetype;
	}
	public void setHousetype(String housetype) {
		this.housetype = housetype;
	}
	@Column(name="cardinalnum")
	public BigDecimal getCardinalnum() {
		return cardinalnum;
	}
	public void setCardinalnum(BigDecimal cardinalnum) {
		this.cardinalnum = cardinalnum;
	}
	@Column(name="scaleint")
	public Double getScaleint() {
		return scaleint;
	}
	public void setScaleint(Double scaleint) {
		this.scaleint = scaleint;
	}
	@Column(name="persontype")
	public String getPersontype() {
		return persontype;
	}
	public void setPersontype(String persontype) {
		this.persontype = persontype;
	}
	@Column(name="amountdou")
	public String getAmountdou() {
		return amountdou;
	}
	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}
	@Column(name="datemoney")
	public String getDatemoney() {
		return datemoney;
	}
	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}
	
	
}
